<div class="col-sm-12 mt20">

  <div class="panel panel-default">
    <div class="panel-body">
      <div class="col-sm-3">
        <ui-select ng-model="searchform.type" theme="bootstrap">
          <ui-select-match placeholder="请选择优惠类型">{{$select.selected.name}}</ui-select-match>
          <ui-select-choices repeat="item.value as item in type | filter: $select.search">
            <span ng-bind-html="item.name | highlight: $select.search"></span>
          </ui-select-choices>
        </ui-select>
      </div>
      <div class="col-sm-2">
        <button class="btn btn-info search btn-block" ng-click="search()">立即搜索</button>
      </div>
      <div class="col-sm-2 pull-right" ng-show="list.length > 0">
        <label class="control-label text-center" style="font-size: 16px"><strong>总计{{list.length}}条</strong></label>
      </div>
    </div>

    <div class="panel-body">
      <table class="table table-striped table-bordered dataTable table-condensed tree_table">
        <thead>
          <tr>
            <th class="col-md-1 text-center">销售品编号</th>
            <th class="col-md-1 text-center">所属机构</th>
            <th class="col-md-1 text-center">被授权机构</th>
          </tr>
        </thead>
        <tbody>
          <tr ng-repeat="info in list">
            <td class="text-center">{{info.sale_code}}</td>
            <td class="text-center">{{info.upstream_company_code	}}</td>
            <td class="text-center">{{info.downstream_company_code	}}</td>
        
          </tr>
        </tbody>
      </table>
    </div>

  </div>
</div>